package com.ruoyi.project.xkx.school.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 校区对象 xkx_school
 *
 * @author ...
 * @date 2021-05-09
 */
@TableName("xkx_school")
public class XkxSchool{
  private static final long serialVersionUID = 1L;

  /**
   * 校区id
   */

  @TableId(value = "school_id",type = IdType.AUTO)
  private Integer schoolId;

  /**
   * 校区名称
   */
  @Excel(name = "校区名称")
  @TableField("school_name")
  private String schoolName;

  /**
   * 备注信息
   */
  @Excel(name = "备注信息")
  @TableField("school_note")
  private String schoolNote;

  public void setSchoolId(Integer schoolId) {
    this.schoolId = schoolId;
  }

  public Integer getSchoolId() {
    return schoolId;
  }

  public void setSchoolName(String schoolName) {
    this.schoolName = schoolName;
  }

  public String getSchoolName() {
    return schoolName;
  }

  public void setSchoolNote(String schoolNote) {
    this.schoolNote = schoolNote;
  }

  public String getSchoolNote() {
    return schoolNote;
  }

  @Override
  public String toString() {
    return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
        .append("schoolId", getSchoolId())
        .append("schoolName", getSchoolName())
        .append("schoolNote", getSchoolNote())
        .toString();
  }
}
